Package-level declarations
Types
Link copied to clipboard
Represents an icon or image displayed before or after a SourceChip's text.
Link copied to clipboard
object SourceBaseChip
Object defining the styling information for the base chip.
Link copied to clipboard
object SourceChip
Object defining property models for SourceChip
s.
Functions
Link copied to clipboard
fun SourceBaseChip( height: Dp, style: SourceBaseChip.Style, onClick: () -> Unit, modifier: Modifier = Modifier, allowsMultiSelection: Boolean = false, onClickLabel: String? = null, badge: @Composable () -> Unit? = null, content: @Composable RowScope.() -> Unit)
Composable function to render a customizable chip component with optional badge..
Link copied to clipboard
fun SourceChip( text: String, isSelected: Boolean, size: SourceChip.Size, showBadge: Boolean, onClick: () -> Unit, modifier: Modifier = Modifier, style: SourceChip.Style = SourceChip.Style.Default, onClickLabel: String? = null, iconOrImage: ChipDecoration = ChipDecoration.None)
Single-selection variant of the SourceChip component. This chip is designed to be used in a row of chips where only one chip can be selected at a time.
Link copied to clipboard
fun SourceChipSupportingButton( text: String, size: SourceChip.Size, onClick: () -> Unit, modifier: Modifier = Modifier, style: SourceChip.Style = SourceChip.Style.SupportingButton, iconOrImage: ChipDecoration = ChipDecoration.None)
Displays a SourceChip component that acts as a button. This button is designed to be used inline with a row of chips.
Link copied to clipboard
fun SourceMultiSelectChip( text: String, isSelected: Boolean, size: SourceChip.Size, showBadge: Boolean, onClick: () -> Unit, modifier: Modifier = Modifier, style: SourceChip.Style = SourceChip.Style.Default, onClickLabel: String? = null, iconOrImage: ChipDecoration = ChipDecoration.None)
Multi-select version of the SourceChip component. This chip is designed to be used in a row of chips where multiple chips can be selected at once. When isSelected is true, a check icon will be displayed after the title.